package backend.Instruction;

import backend.component.RISCVblock;

public class RISCVj extends RISCVinst {
    private RISCVblock Target;

    public RISCVj(RISCVblock target) {
        this.Target = target;
    }

    public RISCVblock getTarget(){
        return Target;
    }

    public void setTarget(RISCVblock target){
        this.Target = target;
    }
    @Override
    public String toString() {
        return "j" + " " + Target.getName() + "\n";
    }
}
